package com.zlzlib.libui.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.zlzlib.libui.util.AppSystemUtil;


/**
 * @Desc:
 * @Copyright:
 * @DateTime: 2021/11/17 17:12
 * @Author zlz
 * @Version 1.0
 */
public class AutoStartReceiver extends BroadcastReceiver {
    /**
     * 监听开机启动广播
     */
    @Override
    public void onReceive(final Context context, Intent intent) {
        AppSystemUtil.startApp(context,context.getPackageName());
    }

}
